/*
 *代码由框架生成,此处任何更改都可能导致被代码生成器覆盖
 *所有业务编写全部应在Partial文件夹下StockInOrderModelService与IStockInOrderModelService中编写
 */
using VOL.demo.IRepositories;
using VOL.demo.IServices;
using VOL.Core.BaseProvider;
using VOL.Core.Extensions.AutofacManager;
using VOL.Entity.DomainModels;
using Microsoft.Extensions.DependencyInjection;

namespace VOL.demo.Services
{
    public partial class StockInOrderModelService : ServiceBase<StockInOrderModel, IStockInOrderModelRepository>
        , IStockInOrderModelService, IDependency
    {
        private readonly IStockInOrderModelRepository _repository;

        [ActivatorUtilitiesConstructor]
        public StockInOrderModelService(IStockInOrderModelRepository dbRepository)
            : base(dbRepository)
        {
            _repository = dbRepository;
            Init(dbRepository);
        }

        public static IStockInOrderModelService Instance
        {
            get { return AutofacContainerModule.GetService<IStockInOrderModelService>(); }
        }
    }
}

